package com.tkey.api.payment.client;

import org.springframework.stereotype.Component;
import com.tkey.api.payment.pojo.Balance;

/**
 * @Author: key
 * @Date: 2021/2/22 15:56
 */
@Component
public class BalanceServiceFallback  implements BalanceService {

    @Override
    public Balance getBalance(Integer id) {
        return new Balance(0, 0, 0, "降级");
    }
}
